import Layout from '@/layout'
export default {
  path: '/employees',
  component: Layout,
  children: [{
    path: '/employees',
    name: 'employees',
    component: () => import('@/views/employees'),
    // title是控制导航的文本 icon是控制导航的图标
    meta: { title: '员工', icon: 'people' }
  }, {
    hidden: true,
    path: '/employees/detail/:id',
    name: 'detail',
    component: () => import('@/views/employees/detail')
  }, {
    hidden: true,
    path: '/employees/print/:id',
    name: 'print',
    component: () => import('@/views/employees/print')
  }]
}
